package com.cloud.core.db.entity;

import com.cloud.core.db.BaseEntity;

/**
* code generate
*/
public class UserAddressEntity extends BaseEntity {

    private Long userId ;//用户Id  关联user_info表的Id
    private Long areaId ;//地区Id （四级地址配置表）
    private String address ;//详细地址
    private String mobileNo ;//联系人手机号
    private String contactPeople ;//联系人
    private Integer ifDefault ;//是否默认地址 1 是默认 0 不是


    public Long getUserId(){
        return this.userId;
    }

    public void setUserId(Long userId){
        this.userId=userId;
    }

    public Long getAreaId(){
        return this.areaId;
    }

    public void setAreaId(Long areaId){
        this.areaId=areaId;
    }

    public String getAddress(){
        return this.address;
    }

    public void setAddress(String address){
        this.address=address;
    }

    public String getMobileNo(){
        return this.mobileNo;
    }

    public void setMobileNo(String mobileNo){
        this.mobileNo=mobileNo;
    }

    public String getContactPeople(){
        return this.contactPeople;
    }

    public void setContactPeople(String contactPeople){
        this.contactPeople=contactPeople;
    }

    public Integer getIfDefault(){
        return this.ifDefault;
    }

    public void setIfDefault(Integer ifDefault){
        this.ifDefault=ifDefault;
    }

    @Override
    public Class getInfoClass() {
        return UserAddressEntity.class;
    }

    @Override
    public String getTableName() {
        return "user_address";
    }
}